function refresh() {
    location.replace(location.href);
}

function isNull(data) {
    return (data == "" || data == undefined || data == null) ? true : false;
}